package [path_1].[path_2].service.[path_3];

import [path_1].[path_2].entity.PageResult;
import [path_1].[path_2].pojo.[path_3].[Table2];
import [path_1].[path_2].dto.[path_3].[Table2]Dto;

import java.util.*;

/**
 * [comment]业务逻辑层
 */
public interface [Table2]Service {


    List<[Table2]> get[Table2]All();

    PageResult get[Table2]List([Table2]Dto dto);

    [Table2] get[Table2]ById([keyType] [key]);

    void save[Table2]([Table2]Dto dto);

    void update[Table2]([Table2]Dto dto);

    void delete[Table2]ById([keyType] [key]);

}
